@charset "utf-8";

:root {
    --txt-family: "Microsoft Yahei", sans-serif, tahoma;
    --color-primary: #ffbd41;
    --color-bg: white;
    --color-border: #eee;
    --color-a: black;
    --color-a-hover: black;

    --txt-little: .75rem;
    --txt-normal: 1rem;
    --txt-big: 1.25rem;
    --txt-bbig: 1.5rem;

    --border-radius: .4rem;
    --gap: 1rem;
    --transition: all .3s ease-out;

    font-size: 16px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    cursor: default;
    font-family: var(--txt-family);
    border-spacing: 0;
    font-style: normal;
    word-break: break-word;
}


/*可选*/
html, body {
    width: 100%;
    height: 100%;
    font-size: 1rem;
    margin: 0 !important;
    font-family: var(--txt-family);
    text-align: right;
}

header, main, footer {
    width: 100%;
}

/*行内块元素*/
input, button, img {
    border: 0 none;
    outline-style: none;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: cover;
    border-radius: var(--border-radius);
}

span, a {
    display: block;
    text-decoration: none;
    color: var(--color-a);
}

a:hover {
    text-decoration: none;
    cursor: pointer;
    color: var(--color-a-hover)
}

.bshadow {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 8px 0px;
}

.nowrap {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: right;
}

.nowrap2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
    white-space: normal;
    text-align: right;
}

.hide {
    visibility: hidden;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all .2s ease-out;
}

::placeholder {
    color: var(--color-bg)
}

::-webkit-scrollbar {
    display: none;
}

.sticky {
    position: sticky;
    top: 0;
    z-index: 666;
}


h1 {
    font-size: var(--txt-big)
}

h2, h3 {
    font-size: var(--txt-normal)
}

body {
    background-color: var(--color-bg);
}

header>div, main>div, footer>div {
    width: 100%;
    margin: 0 auto;
    max-width: 1600px;
    padding: var(--gap);
}

.grid {
    display: grid;
    gap: var(--gap)
}

.gap {
    gap: var(--gap);
}

.clm1 {
    grid-template-columns: auto !important;
}

.clm2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

.clm3 {
    grid-template-columns: repeat(3, 1fr) !important;
}

.clm4 {
    grid-template-columns: repeat(4, 1fr) !important;
}


.fx {
    display: flex;
}

.fxrow {
    flex-direction: row;
}

.fxrowrev {
    flex-direction: row-reverse;
}

.fxcolumn {
    flex-direction: column;
}

.fxcolumnrev {
    flex-direction: column;
}

.fxnowrap {
    flex-wrap: nowrap;
}

.ps_start {
    justify-content: left;
}

.fx_jc_end {
    justify-content: end;
}

.fx_jc_between {
    justify-content: space-between;
}

.fx_jc_around {
    justify-content: space-around;
}

.fx_jc_center {
    justify-content: center;
}

.fx_ai_start {
    align-items: flex-start;
}

.fx_ai_end {
    align-items: flex-end;
}

.fx_ai_center {
    align-items: center;
}

.fx_ai_baseline {
    align-items: baseline;
}

.fx_ai_stretch {
    align-items: stretch;
}

.fx_ai_baseline {
    align-items: baseline;
}